package com.sniff.atp.manager.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sniff.atp.entity.ExecuteRecord;
import com.sniff.atp.manager.ExecuteRecordManager;
import com.sniff.atp.mapper.ExecuteRecordMapper;
import com.sniff.atp.utils.DateUtil;
import org.springframework.stereotype.Service;

/**
 * @BelongsProject: sniff-atp
 * @BelongsPackage: com.sniff.atp.manager.impl
 * @Author: zxy
 * @CreateTime: 2022-11-22 16:15
 * @Description: 执行记录
 * @Version: 1.0
 */
@Service
public class ExecuteRecordManagerImpl extends ServiceImpl<ExecuteRecordMapper, ExecuteRecord> implements ExecuteRecordManager {
    @Override
    public void saveOne(ExecuteRecord executeRecord) {
        executeRecord.setCreateTime(DateUtil.date());
        this.save(executeRecord);
    }
}
